package com.glink.manage.dto.barriergate;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * 反馈执行结果
 * @Author : qiushaoshan
 * @create 2025/2/8 14:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceNotifyDTO implements Serializable {

    private static final long serialVersionUID = 205871203016609034L;

    @ApiModelProperty(name = "dev_sno", notes = "设备MAC")
    private String dev_sno;

    @ApiModelProperty(name = "token", notes = "token值")
    private String token;

    @ApiModelProperty(name = "success", notes = "成功或失败: 此次接收人员数据是否成功，false表示需要平台再次下发该批次人员数据")
    private String success;

    @ApiModelProperty(name = "method", notes = "方法")
    private String method;

    @ApiModelProperty(name = "msg", notes = "说明")
    private String msg;

    @ApiModelProperty(name = "person_type", notes = "人员类型")
    private String person_type;

    @ApiModelProperty(name = "successful", notes = "成功入库人员id列表，字符串")
    private String successful;

    @ApiModelProperty(name = "failed", notes = "入库失败人员id列表")
    private List<DeviceNotifyFailedDTO> failed;

    @ApiModelProperty(name = "params", notes = "见示例，可为空")
    private Object params;
}
